package homework04;

@Entity2("Student")
public class Student {
	@ID()
	@Column(nullable = false, value = "学号")
	private Integer id;

	@Column(nullable = false, length = 44, value = "姓名")
	private String name;

	/*
	 * @ID()
	 * 
	 * @Column(nullable = false, value = "学号") private Integer id;
	 * 
	 * @Column(nullable = false, length = 16, value = "姓名") private String name;
	 */
	/*
	 * public Integer getId() { return id;
	 * 
	 * }
	 * 
	 * public void setId(Integer id) { this.id = id; }
	 * 
	 * public String getName() { return name;
	 * 
	 * }
	 * 
	 * public void setName(String name) { this.name = name; }
	 */
}
